package com.java2404.micro.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @User userlq
 * @Date 2025/1/5 19:10
 * @Classname OrderMainApplication
 * @Description 订单模块主启动类
 */
@EnableDiscoveryClient
@EnableFeignClients
@MapperScan("com.java2404.micro.order.mapper")
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class OrderMainApplication {
    /**
     * 订单模块启动类
     *
     * @param args
     */
    public static void main(String[] args) {
        SpringApplication.run(OrderMainApplication.class, args);
    }
}
